package com.framework.loippi.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.framework.loippi.dao.AgreementDao;
import com.framework.loippi.entity.Agreement;
import com.framework.loippi.service.AgreementService;
import java.util.List;
/**
 * SERVICE - Agreement(协议表)
 * 
 * @author wmj
 * @version 2.0
 */
@Service
public class AgreementServiceImpl extends GenericServiceImpl<Agreement, Long> implements AgreementService {
	
	@Autowired
	private AgreementDao agreementDao;
	
	
	@Autowired
	public void setGenericDao() {
		super.setGenericDao(agreementDao);
	}

	public List<Agreement> findListByPage(Object parameter){
		return agreementDao.findListByPage(parameter);
	}

	public Long deletes(Object parameter){
		return agreementDao.deletes( parameter);
	}

	@Override
	public String findRegisterText() {
		return agreementDao.findRegisterText();
	}


}
